# 普通连接
# import redis
# conn = redis.Redis(host='localhost',port=6379)
# conn.set('age',18)
#
# conn.close()

# 连接池
import redis
from pool import POOL
conn = redis.Redis(connection_pool=POOL)
conn.set('hobboy','football')
conn.close()





